#!/usr/bin/env python
# Echo client program
import socket

HOST = '127.0.0.1'    # The remote host
PORT = 62000              # The same port as used by the server
ADDR = '127.0.0.1:62000'
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST,PORT))
#    s.connect('127.0.0.1', 62000)
#    s.send('mkdir aaa')
s.send('create aaa\n')
s.send('open aaa\n')
data = s.recv(1024)
s.close()
print 'Received', repr(data)

